package com.furnitur.common.service;

import com.furnitur.common.enums.ResourceType;

public interface DataPermissionService {
    /**
     * 验证资源是否属于当前商家
     * @param resourceType 资源类型
     * @param resourceId 资源ID
     * @return 是否属于
     */
    boolean verifyResourceOwnership(ResourceType resourceType, Long resourceId);
    
    /**
     * 获取当前商家ID
     * @return 商家ID
     */
    Long getCurrentMerchantId();
} 